package com.bracketbird.client.gui.club;


import com.bracketbird.client.gui.club.home.*;
import com.bracketbird.client.model.*;
import com.bracketbird.clientcore.appcontrol.*;
import com.bracketbird.clientcore.gui.*;

/**
 *
 */
public class ForumPageController extends PageController<ForumPage> {

    public static String HISTORY_NAME = "club_forum";
    private static ForumPageController instance;


    private ForumPageController() {
        super(MainPageController.getInstance(), HISTORY_NAME);
    }

    public static ForumPageController getInstance() {
        if (instance == null) {
            instance = new ForumPageController();
        }
        return instance;
    }

    public ForumPage newInstance() {
        return new ForumPage();
    }

    public void afterLoad(){
    }

    public boolean makeHistory() {
        return false;
    }

    public MenuComponent newMenuInstance() {
        return new MenuImageAndTextComponent("Forum.png","Forum");        
    }

    public UserStateConstant getLegalState() {
        return UserStateConstant.GUEST;
    }


}